.wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 32px;

  .info {
    h3 {
      margin-bottom: 8px;
    }
  }

  .form {
    display: flex;
    align-items: center;
    position: relative;

    input {
      margin-right: 8px;
      height: 40px;
      width: 210px;
    }

    button {
      min-width: 80px;
    }

    button, input {
      opacity: 1;
      transform: scale(1);
      transition-duration: 0.4s;
      transition-timing-function: var(--bezier-snappy);
      transition-property: opacity, transform, box-shadow;
    }
  }
}

.success {
  background: var(--color-primary);
  padding: 8px 16px;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  position: absolute;
  opacity: 0;
  transform: scale(0);
  transition-duration: 0.4s;
  transition-timing-function: var(--bezier-snappy);
  transition-property: opacity, transform;
}

@media (max-width: 675px) {
  .wrapper {
    .info {
      margin-bottom: 16px;
    }
  }
}

@media (min-width: 675px) {
  .wrapper.compact {
    flex-wrap: nowrap;
    align-items: center;

    .form {
      input {
        width: 160px;
      }
    }
  }
}
